package com.best.oasis.settlement.common.vo.security
{
	import com.best.oasis.settlement.common.vo.base.BaseBizVO;
	
	import mx.collections.ArrayCollection;

	[Bindable]
	[RemoteClass(alias="com.best.oasis.settlement.common.vo.security.UserVO")]
	public class UserVO extends BaseBizVO 
	{
		/**
		 * 登录用户名 ：required
		 */			    
	    public var userName:String; 
		/**
		 * 密码：required
		 */			    
	    public var password:String; 
		/**
		 * 确认密码 
		 */			    
	    public var confirmPassword:String;
		/**
		 * 密码重置
		 */			    
	    public var passwordResetKey:String;  
		/**
		 * 用户名 称
		 */			    
	    public var name:String;            
		/**
		 * 角色
		 */			    
	    public var roles:ArrayCollection= new ArrayCollection(); 
		/**
		 * 角色组
		 */			    
	    public var roleGroups:ArrayCollection = new ArrayCollection(); 
		/**
		 * 是否启用
		 */		    
	    public var enabled:Boolean;
	   
	    public var accountExpired:Boolean;		//账户是否过期
	    
	    public var accountLocked:Boolean;		//账户是否锁定
	    
	    public var credentialsExpired:Boolean; //账户资格是否过期
		/**
		 * 是否Ldap用户
		 */	
		public var ldapUser:Boolean;
		public var province:String;
		
		public var city:String;
		
		public var town:String;
		
		public var street:String;
		
		public var postCode:String;
		
		public var telephoneAreaCode:String;
		
		public var telephoneNumber:String;
		
		public var telephoneExtention:String;
		
		public var department:String;  // 部门
		
		public var jobTitle:String;    // 职位
		
		public var email:String; 	   // required; unique
		
		public var mobile:String; 	   // 手机号码
		public var remark:String;
		public function UserVO()
		{
		}
		
	}
}